package com.muyu.remote.factory;

import com.muyu.common.core.domain.Result;
import com.muyu.remote.PayFeign;
import com.muyu.system.danmo.dto.PayDTO;
import com.muyu.system.danmo.vo.PayVO;
import org.springframework.cloud.openfeign.FallbackFactory;

/**
 * RemotePayFactory
 *
 * @author LeYang
 * on 2025/6/12
 */
public class RemotePayFactory  implements FallbackFactory<PayFeign> {
    @Override
    public PayFeign create(Throwable cause) {
        return new PayFeign() {
            @Override
            public Result<PayVO> pay(PayDTO payDTO) {
                return null;
            }
        };
    }
}
